﻿using System;
using System.Collections.Generic;
namespace WeFrame.Core.Model
{
    /// <summary>
    /// 管理角色表实体类
    /// Author:neo 
    /// Datetime:2016/12/29 16:43:04
    /// </summary>

    [Serializable]
    public partial class SystemRoleEntity
    {
        public SystemRoleEntity()
        {
        }
        #region private property
        private int _id;
        private string _roleName;
        private byte _roleType;
        private byte _isSys;
        #endregion


        #region public property
        /// <summary>
        /// 自增ID
        /// </summary>
        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName
        {
            get { return _roleName; }
            set { _roleName = value; }
        }
        /// <summary>
        /// 角色类型
        /// </summary>
        public byte RoleType
        {
            get { return _roleType; }
            set { _roleType = value; }
        }
        /// <summary>
        /// 是否系统默认0否1是
        /// </summary>
        public byte IsSys
        {
            get { return _isSys; }
            set { _isSys = value; }
        }
        #endregion


        private List<SystemRoleValueEntity> _systemRoleValues;
        /// <summary>
        /// 权限子类 
        /// </summary>
        public List<SystemRoleValueEntity> SystemRoleValues
        {
            set { _systemRoleValues = value; }
            get { return _systemRoleValues; }
        }
    }

}
